#include "MFNN.h"

extern "C" {
	MFNN* Create() {
		return new MFNN();
	}

	void Delete(MFNN* obj) {
		delete obj;
	}

	void Initialise(MFNN* obj, int cDim, int xDim, int hDim, int yDim, int controlWeights) {
		obj->Initialise(cDim, xDim, hDim, yDim, controlWeights);
	}

	void SetValue(MFNN* obj, int matrix, int row, int col, float value) {
		obj->SetValue(matrix, row, col, value);
	}

	float GetValue(MFNN* obj, int matrix, int row, int col) {
		return obj->GetValue(matrix, row, col);
	}

	void AddControlNeuron(MFNN* obj, int index) {
		obj->AddControlNeuron(index);
	}

	void IgnoreControlNeuron(MFNN* obj, int index, bool value) {
		obj->IgnoreControlNeuron(index, value);
	}

	void Predict(MFNN* obj) {
		obj->Predict();
	}
}